package demo.vo.tsdb;

import com.alibaba.fastjson2.JSON;
import lombok.Getter;
import lombok.Setter;

import java.util.List;
import java.util.Map;

/**
 * @author Stan.H
 */
@Getter
@Setter
public class TsdbData {

    private String metric;

    private Map<String, String> tags;

    private List<DataPoint> dps;

    @Override
    public String toString() {
        return JSON.toJSONString(this);
    }
}
